package com.gdpu.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/**
 * @Author:weiming
 * @Date:2021/6/13
 */
@Component
@PropertySource(value = {"classpath:alioss.properties"})
public class OssConfig {
    @Value("${endpoint}")
    public   String endpoint = "oss-cn-beijing.aliyuncs.com";
    @Value("${siteName}")
    public   String siteName = "oss.zhengjie.site";
    @Value("${bucketName}")
    public   final String bucketName ="weiming2000";
    @Value("${accessKeyId}")
    public   String accessKeyId ="LTAI5t8EKGiuPJQDvDBaXXtS";
    @Value("${accessKeySecret}")
    public   String accessKeySecret = "vUO6tobPZuRH1dVNlnuS5yNQ819HHr";
    @Value("${filePathPrefix}")
    public   String filePathPrefix = "myMall";

}
